package com.pb.wkflow.core.config;

/**
 * @author 苗益辉
 * @date 2022/5/9 11:05
 */
public class Constants {

    public static final String EXTENSION_DATA = "extensionData";

    public static final String NR_OF_ACTIVE_INSTANCES = "nrOfActiveInstances";

    public static final String NR_OF_INSTANCES = "nrOfInstances";

    public static final String NR_OF_COMPLETED_INSTANCES = "nrOfCompletedInstances";

    public static final String VOTE_WORK_COLLECTION = "postInfoList";

    public static final String VOTE_WORK_ELEMENT_VARIABLES = "postInfo";

    public static final String VOTE_OPTION = "votingOption";

    public static final String NUMBER_OF_PASS_INSTANCES = "nrOfPassInstances";

    public static final String VOTE_RESULT = "voteResult";

    public static final String _TRANSFER_TRACK = "_TRANSFER_TRACK";

    public static final String _TASK_BEFORE_TRANSFER_ASSIGNEE = "_TASK_BEFORE_TRANSFER_ASSIGNEE";

    public static class ProcessMsg {

        public static final String PROCESS_DEFINE_KEY_NOT_NULL = "流程定义键值不能为空";

        public static final String REBACK_ERROR_TASK_HASDONE = "撤回失败，任务已经被处理";
    }

    public static class VoteResult {

        public static final String VOTE_RESULT_AGREE = "agree";

        public static final String VOTE_RESULT_AGAINST = "against";
    }

    public static class VoteOption {

        public static final String VOTE_OPTION_AGREE = "1";

        public static final String VOTE_OPTION_AGAINST = "2";
    }

    public static class taskStatus {

        public static final String TODO = "process";

        public static final String DONE = "finish";
    }

    public static class Flag {

        public static final String TRUE = "Y";

        public static final String FALSE = "N";
    }
}
